/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package googletalkxmpp;

import java.util.Scanner;
/**
 *
 * @author Dmitriy
 */
public class GoogleTalkXmpp {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args){
        // TODO code application logic here
        Scanner in = new Scanner(System.in);
        GTalkClient client = new GTalkClient();
        client.connect();
        while(true){        
            String msg;
            msg = in.nextLine();
            client.sendMessage(msg); 
        }        
    }
    
}
